package com.s2015.doors.beans;

import java.util.HashSet;
import java.util.Set;

/**
 * 厂家 信息
 * 
 * @since 20150505
 * @category bean
 * @author Guodeqi
 *
 */
public class Vendor {
	// 流水号
	private long id;
	// 厂商信息
	private String verdorName;
	// 厂商地址
	private String verdorAddr;
	// 联系方式
	private String connectWay;
	// 厂商 添加时间
	private Long timeStamp;
	// 添加人
	private Long addMan = -1L;
	// 是否启用 0禁用
	private Integer enable = 1;

	// 与 用户和是 多对一
	private User user;

	// 与窗系列是多对多关系
	private Set<WindowSeries> windowSs = new HashSet<WindowSeries>();
	// 材质 多对多关系
	private Set<MaterialType> materialTypes = new HashSet<MaterialType>();

	// 窗型 一对多关系
	private Set<WindowType> windowTypes = new HashSet<WindowType>();
	// 型材系列 一对多关系
	private Set<ProfileSeries> profileSs = new HashSet<ProfileSeries>();

	// 备用字段
	private String standby1;
	private String standby2;
	private String standby3;
	
	
	public Vendor(){}

	public Vendor(long id) {
		super();
		this.id = id;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getVerdorName() {
		return verdorName;
	}

	public void setVerdorName(String verdorName) {
		this.verdorName = verdorName;
	}

	public String getVerdorAddr() {
		return verdorAddr;
	}

	public void setVerdorAddr(String verdorAddr) {
		this.verdorAddr = verdorAddr;
	}

	public String getConnectWay() {
		return connectWay;
	}

	public void setConnectWay(String connectWay) {
		this.connectWay = connectWay;
	}

	public Long getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Long timeStamp) {
		this.timeStamp = timeStamp;
	}

	public Long getAddMan() {
		return addMan;
	}

	public void setAddMan(Long addMan) {
		this.addMan = addMan;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Set<WindowSeries> getWindowSs() {
		return windowSs;
	}

	public void setWindowSs(Set<WindowSeries> windowSs) {
		this.windowSs = windowSs;
	}

	public Set<MaterialType> getMaterialTypes() {
		return materialTypes;
	}

	public void setMaterialTypes(Set<MaterialType> materialTypes) {
		this.materialTypes = materialTypes;
	}

	public Set<WindowType> getWindowTypes() {
		return windowTypes;
	}

	public void setWindowTypes(Set<WindowType> windowTypes) {
		this.windowTypes = windowTypes;
	}

	public Set<ProfileSeries> getProfileSs() {
		return profileSs;
	}

	public void setProfileSs(Set<ProfileSeries> profileSs) {
		this.profileSs = profileSs;
	}

	public String getStandby1() {
		return standby1;
	}

	public void setStandby1(String standby1) {
		this.standby1 = standby1;
	}

	public String getStandby2() {
		return standby2;
	}

	public void setStandby2(String standby2) {
		this.standby2 = standby2;
	}

	public String getStandby3() {
		return standby3;
	}

	public void setStandby3(String standby3) {
		this.standby3 = standby3;
	}

}
